package com.gidgabs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel("评论数据")
public class TbProductCommentDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id",hidden = true)
    private Integer id;
    //评论者id
    @ApiModelProperty(value = "评论者id",hidden = true)
    private Integer userIdMaster;
    //被评论产品id
    @ApiModelProperty("被评论产品id")
    private Integer commentIdSlave;
    //创建时间
    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date createTime;
    //内容
    @ApiModelProperty("内容")
    private String value;
    //判断是否点赞 true 点赞 false 未点赞
    @ApiModelProperty(value = "判断是否点赞 true 点赞 false 未点赞",hidden = true)
    private Boolean ifLike = false;

    public Boolean getIfLike() {
        return ifLike;
    }

    public void setIfLike(Boolean ifLike) {
        this.ifLike = ifLike;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserIdMaster() {
        return userIdMaster;
    }

    public void setUserIdMaster(Integer userIdMaster) {
        this.userIdMaster = userIdMaster;
    }

    public Integer getCommentIdSlave() {
        return commentIdSlave;
    }

    public void setCommentIdSlave(Integer commentIdSlave) {
        this.commentIdSlave = commentIdSlave;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
